<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>



<div class="list_NR">
    <div class="loc">
        <h3>数据归档</h3>
        <ul class="loc_loc">
          	  病案归档 > 数据归档
        </ul>
    </div>
    
      <div class="list_con_table">
		<form action="${basePath}/medrecord/completePigeonhole" method="post" id="postForm">
		<input type="hidden" name="guid" value="${guid}">
    	<div class="search_table">
           <ul class="clearfix" style="margin-bottom:0;">
			<li class="Label_1">姓名：&nbsp;</li>
            <li class="Label_2">
            	<input class="input_box" type="text" disabled="disabled" readonly="readonly" value='${hospitalNote.name }' />
            </li>
            <li class="Label_1">身份证号：&nbsp;</li>
            <li class="Label_2">
            	<input class="input_box" type="text" disabled="disabled" readonly="readonly" value='${hospitalNote.id_number}' />
            </li>
            <li class="Label_1">性别：&nbsp;</li>
            <li class="Label_2">
            	<input class="input_box" type="text" disabled="disabled" readonly="readonly" value='${hospitalNote.sexName }' />
            </li>
            
             <li class="Label_1">出生日期：&nbsp;</li>
              <li class="Label_2">
              	<input class="input_box" type="text" disabled="disabled" readonly="readonly" value='<fmt:formatDate value="${hospitalNote.birthday }" pattern="yyyy-MM-dd"/>' />
              </li>
              <li class="Label_1">识别码：&nbsp;</li>
              <li class="Label_2">
              	<input class="input_box" type="text" disabled="disabled" readonly="readonly" value='${hospitalNote.mr_id }' />
              </li>
                <li class="Label_1">病案号：&nbsp;</li>
              <li class="Label_2">
              	<input class="input_box" type="text" disabled="disabled" readonly="readonly" value='${hospitalNote.only_id }' />
              </li>
            <li class="Label_1">出院日期：&nbsp;</li>
               <li class="Label_2">
                   <input class="input_box" disabled="disabled" readonly="readonly" value='<fmt:formatDate value="${hospitalNote.out_hospital_date}" pattern="yyyy-MM-dd"/>' type="text" > 
               </li>
               
               <li class="Label_1">出院科室：&nbsp;</li>
               <li class="Label_2">
               
               		<input class="input_box" type="text" disabled="disabled" readonly="readonly" value='${hospitalNote.outDeptName }' />
                </li>
                <li class="Label_1">离院方式：&nbsp;</li>
                <li class="Label_2">
                	<input class="input_box" type="text" disabled="disabled" readonly="readonly" value='${hospitalNote.outHospitalTypeName }' />
                	
                </li>
                 <li class="Label_1" style="color: red;">归档日期：&nbsp;</li>
               <li class="Label_2">
                   <input class="input_box" name="traceDateTime" value='<fmt:formatDate value="${currentDateTime}" pattern="yyyy-MM-dd HH:mm:ss"/>' type="text" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"> 
               </li>
               
                <li class="Label_5">
                    <div class="right">
                    	<a id="Add" onclick="postFormSubmit()">归档</a>
                    </div>
                </li>
            </ul>
        </div>
     </form>

   </div>

   
</div>
<!--script JS部分-->
<script type="text/javascript" src="${basePath}/static/publics/assets/jquery/jquery.min.js"></script>
<script type="text/javascript" src="${basePath}/static/publics/assets/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="${basePath}/static/publics/assets/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="${basePath}/static/publics/assets/jqPaginator/jqPaginator.js"></script>
<script type="text/javascript">
	function postFormSubmit(){
		$("#postForm").submit();
	}

</script>
